package com.unlcn.ils.erpInterfaces.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * SMSTYLE 货物型号
 * </p>
 *
 * @author liangpeng
 * @since 2018-06-08
 */
public class Smstyle extends Model<Smstyle> {

    private static final long serialVersionUID = 1L;

	/**
	 * ${field.comment}
	 */
	@TableField(value="VCFOREIGN_NAME")
	private String vcforeignName;

	/**
	 * 关联smstylemapseries.ilineid
	 */
	private Long istylemapid;

	/**
	 * 车型的详细参数ID
	 */
	private Long irate;

	/**
	 * 有效性
	 */
	private Long bactive;

	/**
	 * 公司ID
	 */
	private Long icompanyid;

	/**
	 * 维护人
	 */
	private String vcuserno;

	/**
	 * 维护日期
	 */
	private Date dtdate;

	/**
	 * 有效2
	 */
	private Long active;

	/**
	 * 结算单位
	 */
	private String vcunit;

	/**
	 * 类型ID
	 */
	private Long itypeid;

	/**
	 * 合同ID
	 */
	private Long icontractid;

	/**
	 * 货物型号
	 */
	private String vcstylename;

	/**
	 * 序号
	 */
	@TableId(type = IdType.INPUT)
	private Long ilineid;



	public String getVcforeignName() {
		return vcforeignName;
	}

	public void setVcforeignName(String vcforeignName) {
		this.vcforeignName = vcforeignName;
	}

	public Long getIstylemapid() {
		return istylemapid;
	}

	public void setIstylemapid(Long istylemapid) {
		this.istylemapid = istylemapid;
	}

	public Long getIrate() {
		return irate;
	}

	public void setIrate(Long irate) {
		this.irate = irate;
	}

	public Long getBactive() {
		return bactive;
	}

	public void setBactive(Long bactive) {
		this.bactive = bactive;
	}

	public Long getIcompanyid() {
		return icompanyid;
	}

	public void setIcompanyid(Long icompanyid) {
		this.icompanyid = icompanyid;
	}

	public String getVcuserno() {
		return vcuserno;
	}

	public void setVcuserno(String vcuserno) {
		this.vcuserno = vcuserno;
	}

	public Date getDtdate() {
		return dtdate;
	}

	public void setDtdate(Date dtdate) {
		this.dtdate = dtdate;
	}

	public Long getActive() {
		return active;
	}

	public void setActive(Long active) {
		this.active = active;
	}

	public String getVcunit() {
		return vcunit;
	}

	public void setVcunit(String vcunit) {
		this.vcunit = vcunit;
	}

	public Long getItypeid() {
		return itypeid;
	}

	public void setItypeid(Long itypeid) {
		this.itypeid = itypeid;
	}

	public Long getIcontractid() {
		return icontractid;
	}

	public void setIcontractid(Long icontractid) {
		this.icontractid = icontractid;
	}

	public String getVcstylename() {
		return vcstylename;
	}

	public void setVcstylename(String vcstylename) {
		this.vcstylename = vcstylename;
	}

	public Long getIlineid() {
		return ilineid;
	}

	public void setIlineid(Long ilineid) {
		this.ilineid = ilineid;
	}

	@Override
	protected Serializable pkVal() {
		return this.ilineid;
	}

}
